﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hugo.UIOptions
{
    class TileUISelectOption : UIOption
    {
        TileUIPage tilePage;

        public TileUISelectOption(TileUIPage tilePage)
            : base("Select", Util.loadBitmap(Properties.Resources.icon_tv2))
        {
            this.tilePage = tilePage;
        }

        public override void wasSelected()
        {
            tilePage.pushSelectedPage();
            Sounds.playSound(Sounds.Sound.Accept);
        }
    }
}
